package pojo;

import lombok.Getter;
import lombok.Setter;


import java.util.Date;
import java.util.HashSet;
import java.util.Set;


/**
 * SysUsers entity. @author MyEclipse Persistence Tools
 */
@Getter
@Setter
public class SysUsers  implements java.io.Serializable {


    // Fields    

     private Integer id;
     private SysRoles sysRoles;
     private Department department;
     private String account;
     private String password;
     private String salt;
     private String userName;
     private String headUrl;
     private Set registries = new HashSet(0);
     private Set schedules = new HashSet(0);
     private Date createtime;


    // Constructors

    /** default constructor */
    public SysUsers() {
    }

    
    /** full constructor */
    public SysUsers(SysRoles sysRoles, Department department, String account, String password, String salt, String userName, String headUrl, Set registries, Set schedules) {
        this.sysRoles = sysRoles;
        this.department = department;
        this.account = account;
        this.password = password;
        this.salt = salt;
        this.userName = userName;
        this.headUrl = headUrl;
        this.registries = registries;
        this.schedules = schedules;
    }

   
    // Property accessors

    public Integer getId() {
        return this.id;
    }
    
    public void setId(Integer id) {
        this.id = id;
    }

    public SysRoles getSysRoles() {
        return this.sysRoles;
    }
    
    public void setSysRoles(SysRoles sysRoles) {
        this.sysRoles = sysRoles;
    }

    public Department getDepartment() {
        return this.department;
    }
    
    public void setDepartment(Department department) {
        this.department = department;
    }

    public String getAccount() {
        return this.account;
    }
    
    public void setAccount(String account) {
        this.account = account;
    }

    public String getPassword() {
        return this.password;
    }
    
    public void setPassword(String password) {
        this.password = password;
    }

    public String getSalt() {
        return this.salt;
    }
    
    public void setSalt(String salt) {
        this.salt = salt;
    }

    public String getUserName() {
        return this.userName;
    }
    
    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getHeadUrl() {
        return this.headUrl;
    }
    
    public void setHeadUrl(String headUrl) {
        this.headUrl = headUrl;
    }

    public Set getRegistries() {
        return this.registries;
    }
    
    public void setRegistries(Set registries) {
        this.registries = registries;
    }

    public Set getSchedules() {
        return this.schedules;
    }
    
    public void setSchedules(Set schedules) {
        this.schedules = schedules;
    }
   








}